#!/bin/bash

echo "gnome-shell-extension-appindicator   托盘图标支持"
echo "gnome-shell-extension-top-icons-plus 托盘图标支持"
echo "indicator-multiload                  显示CPU内存占用"
echo "indicator-cpufreq                    调解CPU频率"
echo "indicator-sound-switcher             设置音频输出设备"
echo "alacarte                             编辑gnome菜单"
echo "安装上面的软件，以及相关的依赖"
echo 
read -p "回车继续"

sudo add-apt-repository ppa:yktooo/ppa

# indicator 拓展
apt install -y gnome-shell-extensions \
  gnome-shell-extension-appindicator \
  gnome-shell-extension-top-icons-plus \
  indicator-multiload \
  indicator-cpufreq \
  indicator-sound-switcher \
  alacarte

# indicator 依赖
sudo apt install -y \
  libcanberra-gtk-module \
  libcanberra-gtk3-module \
  gconf2 \
  gconf-service \
  libappindicator1